package cn.cvs.dao;

import cn.cvs.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordMapper {
    int selectCountBySupplierId(@Param("supplierId") Integer var1) throws Exception;

    int add(StorageRecord var1) throws Exception;

    List<StorageRecord> selectList(StorageRecord record) throws Exception;

    int selectCount(@Param("goodsName") String var1, @Param("supplierId") Integer var2, @Param("payStatus") Integer var3) throws Exception;

    int deleteById(@Param("id") Integer var1) throws Exception;

    StorageRecord selectById(@Param("id") Integer var1) throws Exception;

    int update(StorageRecord var1) throws Exception;

    int deleteBySupplierId(@Param("supplierId") Integer var1) throws Exception;
}
